// UserOrderService.java
package com.itheima.Service;

import com.itheima.pojo.*;

import java.util.List;

public interface UserOrderService {
    PageResult<OrderVO> page(UserOrderQueryParam queryParam);
    OrderDetailVO get(Integer userId, Integer orderId);
    String create(Integer userId, OrderCreateParam createParam);
    void cancel(Integer userId, Integer orderId);
    void confirm(Integer userId, Integer orderId);
    void applyRefund(Integer userId, Integer orderId, RefundApplyParam applyParam);

    void payOrder(Integer userId, Integer id);

    List<Order> selectOrdersListById(Integer userId);
}



